package com.jpx.jxcbiz.service.impl;

import com.jpx.common.dto.SaleDto;
import com.jpx.jxcbiz.entity.TSaleListGoods;
import com.jpx.jxcbiz.mapper.TSaleListGoodsMapper;
import com.jpx.jxcbiz.service.ITSaleListGoodsService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-02-24
 */
@Service
public class TSaleListGoodsServiceImpl extends ServiceImpl<TSaleListGoodsMapper, TSaleListGoods> implements ITSaleListGoodsService {

    @Resource
    TSaleListGoodsMapper saleListGoodsMapper;

    @Override
    public List<SaleDto> getSaleList(SaleDto saleDto) {
        List<SaleDto> saleList = saleListGoodsMapper.getSaleList(saleDto);
        return saleList;
    }
}
